package com.gua.jbs.dao;

import java.util.List;

import com.gua.jbs.bean.UserBean;
import com.gua.jbs.pojo.Jbsult;
import com.gua.jbs.utility.ApplicationException;

public interface IUserDao extends IBaseDao{
	
	boolean updatePassword(String userId, String password, String newPassword) throws ApplicationException;

	boolean deleteUserOnId(String userId) throws ApplicationException;

	boolean saveUser(UserBean userBean) throws ApplicationException;

	boolean updateUser(String userId, String userRole) throws ApplicationException;

	List<Jbsult> getAllUsers() throws ApplicationException;

}
